#include<stdio.h>
#include<string.h>
int (cmp)(const void*e1, const void*e2)
{
	return *(int*)e1 - *(int*)e2;
}
int main()
{
	int arr[10] = { 1,2,3,4,5,11,7,8,9,10 };
	int sz = sizeof(arr) / sizeof(arr[0]);
	qsort(arr, sz, sizeof(arr[0]), cmp);
	return 0;
}